<?php
class PermissionException extends Exception{

	private $vardump = null;

	public function __construct($message,$vardump=null,$code=null,$userMessage=null){
		parent::__construct($message,$code);
		$this->vardump = $vardump;
		$this->userMessage = $userMessage;
	}

	public function getVarDump(){
		return $this->vardump;
	}

	public function getUserMessage(){
		return $this->userMessage;
	}
}
?>